package org.limit.bookServe.enums;

/**
 * @author 1.
 * @description: 用户身份枚举类
 * @date: 2023/11/1 19:41
 */
public enum UserIdentityEnum {
    ADMIN(1, "管理员"),
    COMMON(2, "普通用户"),
    ;

    private int index;
    private String desc;

    UserIdentityEnum(int index, String desc) {
        this.index = index;
        this.desc = desc;
    }

    public int getIndex() {
        return index;
    }

    public String getDesc() {
        return desc;
    }
}
